home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / comm / cnet / SnarfURL.lha / SnarfURL.install < prev    next >
Text File  |  1997-12-29  |  5KB  |  142 lines

  1. SnarfURL v0.95
  2. by Bob Maple (bmaple@burner.com)
  3. (c) 1997-1998 Bob Maple
  4.  
  5. The author of this program makes no warranties, either expressed or implied,
  6. as to the results occuring from the use or mis-use of this program.  Your
  7. mileage may vary.  Use at your own risk.
  8.  
  9.  
  10.  
  11. WHAT IS SNARFURL?
  12. =================
  13.  
  14.  SnarfURL is a little CNet-C door that will pull http: URLs out of messages
  15.  and instruct your web browser to go to that URL.
  16.  
  17.  Why?  Because you can't cut text off of the CNet screen using the clipboard
  18.  unless you're using some sort of clipboard hack like PowerSnap, which I hate
  19.  using.  I was frustrated always having to scribble down URLs onto pieces of
  20.  paper, flip screens, and punch them in, only to find I wrote something down
  21.  wrong.  Grrr!
  22.  
  23.  At the moment, SnarfURL will only search through public messages and replies 
  24.  in the message boards.
  25.  
  26.  
  27.  
  28. INSTALLING
  29. ==========
  30.  
  31.  Installation is mostly easy.  LaunchURL.rexx MUST be installed in REXX:
  32.  but SnarfURL can go to a path of your choice.
  33.  
  34.  Note also that the command "rx" must be installed somewhere in the global
  35.  system path!  SnarfURL calls LaunchURL.rexx by way of the "rx" shell
  36.  command, so AmigaDOS must be able to find it somewhere in your current
  37.  path.  SYS:RexxC/ is where it normally lives, which should be in your
  38.  path (open a shell and type "path" to find out.)
  39.  
  40.   *** NOTE ***  There are TWO SnarfURL binaries included in the LHA!
  41.                 SnarfURL_424h was compiled for v4.24h of CNet, which is
  42.                 what I personally run, which is an older beta.
  43.                 
  44.                 However, internal CNet data that SnarfURL depends on
  45.                 slided around sometime after v4.24h (I don't know when,
  46.                 really) so the plain SnarfURL was compiled with a newer SDK.
  47.                 
  48.                 Choose appropriately!  Your mileage may vary!  If you are
  49.                 running the latest version of CNet v4, then run the normal
  50.                 SnarfURL binary.
  51.                 
  52.                 
  53.  To install SnarfURL into your BBSMENU for easy access, I suggest something
  54.  adding a command to the end of group 5, the "Respond or Pass?" section:
  55.  
  56.     WWW `31 |#2src:CNet/SnarfURL/SnarfURL}
  57.  
  58.  In this case, the command "WWW" would launch SnarfURL out of my build
  59.  directory, but only for people with access group 31.  SnarfURL has no
  60.  access restrictions of it's own, so plan accordingly.. this isn't something
  61.  you want remote users to have access to anyway.
  62.  
  63.  You would obviously alter the above line however you please, making sure
  64.  to specify the path for wherever _you_ happened to put SnarfURL.
  65.  
  66.  
  67.  
  68. USING
  69. =====
  70.  
  71.  If you made a BBSMENU entry similar to the one above, make sure you
  72.  use "Reload text/menu" from the CNet Control Panel pulldown menus, or
  73.  reboot your system.  Then, fire up your browser, login to your BBS,
  74.  find a message which has a URL in it, and type "WWW" at the Respond/Pass
  75.  prompt after the message, and you're off!
  76.  
  77.  
  78.  
  79. CONFIGURING FOR YOUR BROWSER
  80. ============================
  81.  
  82. The file LaunchURL.rexx is designed to look for Voyager already running,
  83. and if that fails, it will look for IBrowse already running, and if that
  84. fails, it looks for AWeb.  If it finds any of them, it gives that browser
  85. the URL and all is happy.
  86.  
  87. The script does NOT launch the browser if it's not already running, since
  88. installation paths are not standard, and how am I supposed to know which
  89. one you want to use?!
  90.  
  91. Feel free to be devious and modify the script to do whatever you want
  92. depending on your desires and configuration.
  93.  
  94.  
  95.  
  96. BUGS
  97. ====
  98.  
  99.  Since we're dealing with pulling strings out of messages, SnarfURL
  100.  tries very hard to grab just the URL, but sometimes will grab extra junk
  101.  on the end depending on how the person typed up the message.  At the moment
  102.  it's trained to stop at spaces and newlines, and snip off some stuff at the
  103.  ends, but I'm sure there's other ways people are pounding URLs into their
  104.  messages that will cause my program to guess wrong.
  105.  
  106.  Let me know if you run into such "un-clean" URLs so I can hack SnarfURL to
  107.  recognize 'dirtier' messages.  It's a difficult task, since URLs can contain
  108.  a variety of non-alphabetic characters, so arbitrary filtering can't be done.
  109.  
  110.  
  111.  
  112. SUPPORT
  113. =======
  114.  
  115. Email bmaple@burner.com with problems or suggestions.
  116.  
  117.  
  118.  
  119. TO-DO
  120. =====
  121.  
  122.  o  A list of found URLs that you can choose from, instead
  123.     of the current 'yes/no' method
  124.     
  125.  o  Search for ftp: and news: URLs
  126.  
  127.  o  Optional Add-to-bookmark instead of launching that URL
  128.     (You can do this with the ARexx script now, if you want!)
  129.    
  130.  o  Searching through email
  131.  
  132.  
  133.  
  134. HISTORY
  135. =======
  136.  
  137.  v0.95 29-Dec-97
  138.  ---------------
  139.  
  140.   o  Initial release just to see what happens
  141.  
  142.